const router = require('koa-router')(),
drawController = require('../controllers/draw');

router.prefix('/api');
router.get('/',function(ctx) {
  ctx.body = 'api'
})
router.post('/name',drawController.postNameFields);
router.post('/key',drawController.postKeyFields);
router.post('/hex',drawController.postHexFields);
router.post('/random',drawController.postRandomFields);
router.post('/hotColorCity24',drawController.postHotColorCityData)

module.exports = router;
